﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>百度编辑器</title>
    <script type="text/javascript" src="./editor_config.js"></script>
    <script type="text/javascript" src="./editor_all_min.js"></script>
    <link rel="stylesheet" type="text/css" href="./themes/default/ueditor.css"/>
</head>
<body>
    <script type="text/plain" id="myEditor" style="width:100%;">
    </script>
    <br />
    <input type="button" onclick="setEditer()" value=" 转换到FCK编辑器 " />
    <script type="text/javascript">
        var option = {
            initialContent: window.opener.FckGetHtml(),
            minFrameHeight: 380
        };
        var editor_a = new baidu.editor.ui.Editor(option);
        editor_a.render('myEditor');

        function setEditer() {
            window.opener.FckSetHtml(editor_a.getContent());
            window.close();
        }
    </script>
</body>
</html>
